﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TranslationProjectBuilder.Windows.Forms
{
    public partial class InputBox : Form
    {

        DialogResult dialogResult;
        public DialogResult DialogResult
        {
            get { return dialogResult; }
        }

        public String Output
        {
            get { return textBox.Text; }
        }

        public InputBox(String Title, String InputDescription, String DefaultInput)
        {
            InitializeComponent();
            this.Text = Title;
            label.Text = InputDescription;
            textBox.Text = DefaultInput;
        }

        public DialogResult showInputBox()
        {
            dialogResult = ShowDialog();
            return dialogResult;
        }
    }
}
